package com.jcp.entity;

public class DepartmentsAndUserName {
	
	private int deptId;
	private String deptName;
	private int num;
	private String userName;
	private String deptInfo;
	public int getDeptId() {
		return deptId;
	}
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getDeptInfo() {
		return deptInfo;
	}
	public void setDeptInfo(String deptInfo) {
		this.deptInfo = deptInfo;
	}
	public DepartmentsAndUserName(int deptId, String deptName, int num, String userName, String deptInfo) {
		super();
		this.deptId = deptId;
		this.deptName = deptName;
		this.num = num;
		this.userName = userName;
		this.deptInfo = deptInfo;
	}
	@Override
	public String toString() {
		return "DepartmentsAndUserName [deptId=" + deptId + ", deptName=" + deptName + ", num=" + num + ", userName="
				+ userName + ", deptInfo=" + deptInfo + "]";
	}
	public DepartmentsAndUserName() {
		// TODO Auto-generated constructor stub
	}
	
	
}
